package com.biyabi.service;

import com.biyabi.entity.Supplier;
import com.biyabi.pojo.SuppliersData;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface SupplierService {
    void add(Supplier supplier, MultipartFile logoFile, HttpServletRequest request);
    void update(Supplier supplier, MultipartFile logoFile, HttpServletRequest request);
    Supplier findOne(String id);
    SuppliersData findAll(Integer currentPage, Integer pageSize,String columnName,String columnValue);
    List<Supplier> findAllSupplier();
}
